
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>--%>

<div class="sidebar-header d-flex align-items-center">
    <div id="avatar" class="avatar">
        <c:if test="${sessionScope.UserInfo.pic == null || sessionScope.UserInfo == ''}">
            <img id="sImg" src="${pageContext.request.contextPath}/img/avatar-6.jpg" alt="..." class="img-fluid rounded-circle">
        </c:if>
        <c:if test="${sessionScope.UserInfo.pic != null && sessionScope.UserInfo != ''}">
            <img id="sImg" style="width: 60px;height: 50px" src="${sessionScope.UserInfo.pic}" alt="..." class="img-fluid rounded-circle">
        </c:if>
    </div>
    <div class="title">
        <h1 class="h5">${sessionScope.UserInfo.realName}</h1>
        <p>${sessionScope.UserInfo.deptName}</p>
    </div>
</div>
